package com.zero.manage.web.components.service;

import com.zero.manage.web.components.entity.rbac.SysRoleEntity;
import com.zero.manage.web.components.query.SysRoleQuery;
import io.gitee.zerowsh.enums.ToolEnums;
import io.gitee.zerowsh.util.PublicResult;
import com.zero.manage.web.components.base.IBase;
import org.springframework.stereotype.Repository;

/**
 * 系统角色 业务接口类
 *
 * @author zero
 */
@Repository
public interface SysRoleService extends IBase<SysRoleEntity, String, SysRoleQuery> {

    PublicResult updateState(String id, ToolEnums.StateEnums state);

    PublicResult getIdAndName();
}

